package validjson;

public class NullValidator implements Validator {
    public void validate(Object jsonToValidate) throws ValidationException {
        if (jsonToValidate != null) {
            throw new ValidationException("Value '" + jsonToValidate + "' must be null");
        }
    }
}
